﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true"
    CodeFile="WIN05_3V.aspx.cs" Inherits="IFRS_WIN05_3V" %>

<%@ Register TagPrefix="cc1" Namespace="vsm.CustomControl" Assembly="vsm.CustomControl" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container-custom">
        <div class="table_master">
            <div class="table_detail">
                <asp:PlaceHolder ID="form_control" runat="server">
                    <div class="table_detail">
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblTransactionDate" runat="server" Text="<%$Resources:ifrsField,DATE_TRANSACTION%>" />&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <asp:TextBox CssClass="datepicker" onblur="datebox_onblur( this, event );" ID="txtTransactionDate"
                                    SkinID="TextBoxWithNoColor" runat="server"></asp:TextBox>
                                <span class="red">*</span>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblGLAccount" runat="server" Text="<%$Resources:ifrsField,GL_ACCOUNT%>"></asp:Label>&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <cc1:TextboxNumber ID="txtGLAccountCode" runat="server" SkinID="TextBoxWithNoColor"
                                    MaxLength="50" TypeTextbox="Number" />&nbsp;
                                <asp:Button ID="btnGLAccountCode" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,POPUP%>"
                                    CausesValidation="False" />
                                <asp:HiddenField ID="hddGLAccountCode" runat="server" />
                                <span class="red">*</span>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblCostCenter" runat="server" Text="<%$Resources:ifrsField,COST_CENTER%>" />&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <cc1:TextboxNumber ID="txtCostCenter" runat="server" SkinID="TextBoxWithNoColor"
                                    MaxLength="50" TypeTextbox="Number" />&nbsp;
                                <asp:Button ID="btnCostCenter" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,POPUP%>"
                                    CausesValidation="False" />
                                <asp:HiddenField ID="hddCostCenter" runat="server" />
                                <span class="red">*</span>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblUnpaidAmount" runat="server" Text="<%$Resources:ifrsField,UnpaidAmount%>" />&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <cc1:TextboxNumber ID="txtUnpaidAmount" runat="server" SkinID="TextBoxWithNoColor"
                                    AllowMaximumNumber="999999999" AllowNegativeNumber="True" DigitDecimal="2" TypeTextbox="Currency" />&nbsp;
                                <asp:Label ID="lblBAHT" runat="server" Text="<%$Resources:ifrsField,BAHT%>"></asp:Label>
                                <span class="red">*</span>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblCurrencyCode" runat="server" Text="<%$Resources:ifrsField,CurrencyCode%>"></asp:Label>&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <asp:TextBox ID="txtCurrencyCode" MaxLength="3" SkinID="TextBoxWithNoColor" runat="server"></asp:TextBox>&nbsp;
                                <asp:Button ID="btnCurrencyCode" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,POPUP%>"
                                    CausesValidation="False" />
                                <asp:HiddenField ID="hddCurrencyCode" runat="server" />
                                <span class="red">*</span>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblCreditLevel" runat="server" Text="<%$Resources:ifrsField,CreditLevelName%>" />&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <asp:DropDownList ID="ddlCreditLevel" runat="server" SkinID="DropDownListWithNoColor" />
                                <span class="red">*</span>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblLoanObjectiveID" runat="server" Text="<%$Resources:ifrsField,LoanObjectiveID%>"></asp:Label>&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <asp:TextBox ID="txtLoanObjectiveID" runat="server" SkinID="TextBoxWithNoColor" MaxLength="50"
                                    TypeTextbox="Number" />&nbsp;
                                <asp:Button ID="btnLoanObjectiveID" runat="server" SkinID="NormalButton" Text="<%$Resources:ifrsButton,POPUP%>"
                                    CausesValidation="False" />
                                <asp:HiddenField ID="hddLoanObjectiveID" runat="server" />
                                <span class="red">*</span>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblContractLoanType" runat="server" Text="<%$Resources:ifrsField,ContractLoanTypeNM%>" />&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <asp:DropDownList ID="ddlContractLoanType" runat="server" SkinID="DropDownListWithNoColor" />
                                <span class="red">*</span>
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblReservedAmount" runat="server" Text="<%$Resources:ifrsField,ReservedAmount%>"></asp:Label>&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <cc1:TextboxNumber ID="txtReservedAmount" runat="server" SkinID="TextBoxWithNoColor"
                                    AllowMaximumNumber="999999999" AllowNegativeNumber="True" DigitDecimal="2" TypeTextbox="Currency" />&nbsp;
                            </div>
                        </div>
                        <div class="rowinfo">
                            <div class="collabel_single">
                                <asp:Label ID="lblStatus" runat="server" Text="<%$Resources:ifrsField,LIST_STATUS%>" />&nbsp;:&nbsp;
                            </div>
                            <div class="colinfo_single">
                                <asp:TextBox ID="txtStatus" SkinID="ReadOnlyBox" runat="server"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                </asp:PlaceHolder>
            </div>
            <div class="colbtn">
                <div class="center">
                    <asp:Button ID="btnCANCEL" runat="server" Text="<%$Resources:ifrsButton,CANCEL%>"
                        SkinID="NormalButton" OnClick="btnCANCEL_Click" />
                </div>
            </div>
        </div>
    </div>
    <script src="../Content/js/Currency.js" type="text/javascript"></script>
</asp:Content>
